{layout name="main"/}
<div class="wrapper wrapper-content animated fadeInUp">


    <div class="row">
        <div class="col-sm-12">
            <div class="ibox">
                <div class="ibox-title">
                    <a class="btn btn-primary btn-sm"><i class="fa fa-edit"></i> 新增 手机品牌 </a>
                </div>

             </div>
            </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox">

                <div class="ibox-title">
                    <h5>手机品牌列表</h5>


                </div>

                <div class="ibox-content">
                    <div class="row m-b-sm m-t-sm">
                        <div class="col-sm-5">
                            <a href="{:url('admin/Brand/showlist')}" class="btn-sm btn btn-info">全部</a>
                            <a href="{:url('admin/Brand/showlist',['type'=>0])}" class="btn-sm btn btn-default">已推荐</a>
                            <a href="{:url('admin/Brand/showlist',['type'=>1])}" class="btn-sm btn btn-default">未推荐</a>
                        </div>
                        <div class="col-sm-7">
                            <div class="input-group">
                                <input type="text" placeholder="搜索品牌名称" class="input-sm form-control" name=keyword value="{$keyword}"> <span class="input-group-btn">
                                    <button type="button" class="btn btn-sm btn-primary" onclick="search()">搜索</button> </span>
                            </div>





                        </div>
                    </div>
                    <div class="project-list">
                        <table class="table table-striped table-bordered table-hover dataTables-example dataTable" id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">
                            <thead>
                            <tr role="row">
                                <th  style="width:5%;"></th>
                                <th  style="">品牌名称</th>

                                <th style="width:5%;">排序</th>
                                <th  style="width: 8%;">访问量</th>
                                <th  style="width: 8%;">是否推荐</th>

                                <th  style="width:20%;">操作</th>

                            </tr>
                            </thead>

                            <!--                            <tbody><tr class="no-records-found"><td colspan="8">没有找到匹配的记录</td></tr></tbody>-->

                            <tbody>



                                                        <tr class="gradeA even">
                                                            <td class=" ">
                                                                <img src="/static/img/mi.jpg" style="width:30px; border-radius:20%;" />
                                                            </td>
                                                            <td class=" ">
                                                                <a href="#">
                                                                    小米
                                                                </a>

                                                            </td>

                                                            <td class="center ">99</td>
                                                            <td class="center ">3219次</td>
                                                            <td class="center ">已推荐</td>
                                                            <td class="center">

                                                                <button class="btn btn-danger btn-xs "><i class="fa fa-check-square-o"></i> 取消推荐 </button>
                                                                <button class="btn btn-danger btn-xs "><i class="fa fa-edit"></i> 编辑 </button>
                                                                <button class="btn btn-danger btn-xs "><i class="fa fa-times"></i> 删除 </button>
                                                            </td>
                                                        </tr>


                                                        <tr class="gradeA even">
                                                            <td class=" ">
                                                                <img src="/static/img/mi.jpg" style="width:30px; border-radius:20%;" />
                                                            </td>
                                                            <td class=" ">
                                                                <a href="#">
                                                                    华为
                                                                </a>

                                                            </td>

                                                            <td class="center ">99</td>
                                                            <td class="center ">3219次</td>
                                                            <td class="center ">已推荐</td>
                                                            <td class="center">

                                                                <button class="btn btn-danger btn-xs "><i class="fa fa-check-square-o"></i> 取消推荐 </button>
                                                                <button class="btn btn-danger btn-xs "><i class="fa fa-edit"></i> 编辑 </button>
                                                                <button class="btn btn-danger btn-xs "><i class="fa fa-times"></i> 删除 </button>
                                                            </td>
                                                        </tr>
                            </tbody>

                        </table>
                        <!--                        <div class="row">
                                                    <div class="col-sm-6 m-t-sm">
                                                        <button class="btn btn-primary btn-xs" id="selectAll" onclick="deletearticle(1)"><i class="fa fa-check"></i> 全选 </button>
                                                        <button class="btn btn-warning btn-xs" id="deleteAll" onclick="deletearticle(1)"><i class="fa fa-trash"></i> 批量删除 </button>
                                                    </div>
                                                </div>-->
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="dataTables_info" id="DataTables_Table_0_info" role="alert" aria-live="polite" aria-relevant="all">
                                    每页显示 {:getPageSize()} 项，共 0 项</div></div>
                            <div class="col-sm-6">
                                <div class="dataTables_paginate paging_simple_numbers" id="DataTables_Table_0_paginate">
                                   <!--$list->render()-->

                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>